package com.dhcc.bpm.modules.safe.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName AccessControl
 * @Description 访问控制API关联表数据传输对象实体类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@TableName("opc_access_control")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AccessControl对象", description = "API访问控制表")
public class AccessControl extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 控制名称
	*/
		@ApiModelProperty(value = "控制名称")
		private String controlName;
	/**
	* 控制编号
	*/
		@ApiModelProperty(value = "控制编号")
		private String controlCode;
	/**
	* 策略类型
	*/
		@ApiModelProperty(value = "策略类型")
		private String strategyType;
	/**
	* 控制类型
	*/
		@ApiModelProperty(value = "控制类型")
		private String controlType;
	/**
	* 控制状态
	*/
		@ApiModelProperty(value = "控制状态")
		private String controlStatus;
	/**
	* 控制范围
	*/
		@ApiModelProperty(value = "控制范围")
		private String controlScope;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;

	/**
	 * 网关编码
	 */
		@ApiModelProperty(value = "网关编码")
		private String gatewayCode;
	/**
	 * 刷新标志
	 */
	@ApiModelProperty(value = "刷新标志")
	private String refreshFlag;

	/**
	 * 网关类型
	 */
	@ApiModelProperty(value = "网关类型")
	private String gatewayType;

	/**
	 * 环境
	 */
	@ApiModelProperty(value = "环境")
	private String env;

}
